import 'package:json_annotation/json_annotation.dart';

part 'xmm_coin_recharge.g.dart';

@JsonSerializable()
class XmmCoinRecharge {
  String? goodsCode; //商品编号
  String? goodsName; //商品名称
  String? orderNo; //支付订单号
  int? paidAmount; //实付金额
  String? paidCurrency; //实付币种
  int? payAmount; //支付金额(美金)
  String? requestUrl; //跳转地址
  String? tradeNo;

  XmmCoinRecharge({
    this.goodsCode,
    this.goodsName,
    this.orderNo,
    this.paidAmount,
    this.paidCurrency,
    this.payAmount,
    this.requestUrl,
    this.tradeNo,
  }); // 平台订单号

  factory XmmCoinRecharge.fromJson(Map<String, dynamic> json) =>
      _$XmmCoinRechargeFromJson(json);

  Map<String, dynamic> toJson() => _$XmmCoinRechargeToJson(this);
}
